package com.demo.ms.service;

import java.util.List;
import java.util.Map;

import com.demo.ms.pojo.User;

public interface UserService {
	
	/*
	 * 用户登录
	 */
	public User login(String name,String password);
	
	public void save(User user);
	public void update(User user);
	public void delete(int id);
	public User findById(int id);
	public List<User> findAll();
	

}
